import vue from "@vitejs/plugin-vue";

import { Plugin } from "vite";
import  {setupMockPlugin} from "./mockjs"
import autoImport from "./autoImport"
export  default function setupPlugins(isBuild: boolean){
  const plugins:Plugin[] =[vue()]

  plugins.push(setupMockPlugin(false))//加入mockjs配置
     //加入elementplus自动导入
     autoImport(plugins)
 
  return plugins
}

